package org.jeecg.modules.demo.pubuyorder.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.demo.demo.entity.PuContract;
import org.jeecg.modules.demo.expenseAllocation.entity.FeiYongVo;
import org.jeecg.modules.demo.expenseAllocation.entity.YxExpenseAllocation;
import org.jeecg.modules.demo.puInvoice.entity.PuInvoice;
import org.jeecg.modules.demo.pubuyorder.entity.PuBuyOrder;
import org.jeecg.modules.demo.pubuyorder.mapper.PuBuyOrderMapper;
import org.jeecg.modules.demo.pubuyorder.service.IPuBuyOrderService;
import org.jeecg.modules.demo.pusettlement.entity.PuSettlement;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @Description: pu_buy_order
 * @Author: jeecg-boot
 * @Date:   2021-11-24
 * @Version: V1.0
 */
@Service
public class PuBuyOrderServiceImpl extends ServiceImpl<PuBuyOrderMapper, PuBuyOrder> implements IPuBuyOrderService {
    @Resource
    private PuBuyOrderMapper puBuyOrderMapper;
    @Override
    public String getMaxCode(){
        return puBuyOrderMapper.getMaxCode();
    }

    @Override
    public Map<String,Double>  getOrderQuantity(String beginTime,String endTime){
        return puBuyOrderMapper.getOrderQuantity(beginTime,endTime);
    }
    @Override
    public Map<String,Double>  getQualityIQ(String beginTime,String endTime){
        return puBuyOrderMapper.getQualityIQ(beginTime,endTime);
    }
    @Override
    public Map<String,Double>  getSettlementVolume(String beginTime,String endTime){
        return puBuyOrderMapper.getSettlementVolume(beginTime,endTime);
    }
    @Override
    public Map<String,Double>  getInvoiceQuantity(String beginTime,String endTime){
        return puBuyOrderMapper.getInvoiceQuantity(beginTime,endTime);
    }


    @Override
    public PuContract getContractByNumber(String num){
        return puBuyOrderMapper.getContractByNumber(num);
    }

    @Override
    public  Map<String,Double> getCgMonthData(){
        return puBuyOrderMapper.getCgMonthData();
    }
    @Override
    public  Map<String,Double> getXsMonthData(){
        return puBuyOrderMapper.getXsMonthData();
    }
    @Override
    public  Map<String,Double> getFkMonthData(){
        return puBuyOrderMapper.getFkMonthData();
    }
    @Override
    public  Map<String,Double> getSkMonthData(){
        return puBuyOrderMapper.getSkMonthData();
    }

    @Override
    public  Map<String,Double> getCgYearData(String tenantId){
        return puBuyOrderMapper.getCgYearData(tenantId);
    }
    @Override
    public  Map<String,Double> getXsYearData(){
        return puBuyOrderMapper.getXsYearData();
    }
    @Override
    public  Map<String,Double> getFkYearData(){
        return puBuyOrderMapper.getFkYearData();
    }
    @Override
    public  Map<String,Double> getSkYearData(){
        return puBuyOrderMapper.getSkYearData();
    }

    @Override
    public List<FeiYongVo> getFeiYong(String str){
        return puBuyOrderMapper.getFeiYong(str);
    }

    @Override
    public PuBuyOrder getByNumber(String str){
        return puBuyOrderMapper.getByNumber(str);
    }
    @Override
    public  Map<String,Double> getNumAndMoeny(){
        return puBuyOrderMapper.getNumAndMoeny();
    }

    @Override
    public  Map<String,Double> getSaleOrderNumByMoney(){
        return puBuyOrderMapper.getSaleOrderNumByMoney();
    }

    @Override
    public PuBuyOrder getPuBuyOrderByHetbh(String hetid) {
        return puBuyOrderMapper.getPuBuyOrderByHetbh(hetid);
    }

    @Override
    public List<PuBuyOrder> getOrderList(String parameter){
        return puBuyOrderMapper.getOrderList(parameter);
    }

    @Override
    public List<PuSettlement>  getJieSuan(String str){
       return puBuyOrderMapper.getJieSuan(str);
    }

    @Override
    public List<Map<String,Double>>  getDingDan(String str){
        return puBuyOrderMapper.getDingDan(str);
    }
    @Override
    public List<Map<String,Double>>  getZhiJian(String str){
        return puBuyOrderMapper.getZhiJian(str);
    }
    @Override
    public List<Map<String,Double>>  getRuKu(String str){
        return puBuyOrderMapper.getRuKu(str);
    }
    @Override
    public List<PuInvoice>  getFaPiao(String str){
        return puBuyOrderMapper.getFaPiao(str);
    }
    @Override
    public List<PuInvoice> getYuKaiFaPiao(String str){
        return puBuyOrderMapper.getYuKaiFaPiao(str);
    }
    @Override
    public List<Map<String,Double>>  getFuKuan(String str){
        return puBuyOrderMapper.getFuKuan(str);
    }

    @Override
    public List<YxExpenseAllocation>  getYuFuKuan(String str){
        return puBuyOrderMapper.getYuFuKuan(str);
    }

    @Override
    public String getTeantName(Integer str){
        return puBuyOrderMapper.getTeantName(str);
    }

    @Override
    public String getTeantCodeById(Integer str){
        return puBuyOrderMapper.getTeantCodeById(str);
    }
}
